package com.situ.day250115.inter;

public class Demo {
    public static void main(String[] args) {
        DaYan daYan = new DaYan();
        daYan.egg();
        daYan.fly();
        //站在能不能飞这个接口的角度去看这个大雁
        //fly.show();

        AbstractBird bird = new DaYan();
        bird.egg();
        bird.egg();

    }
}
